package org.clever.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.clever.dubbo.api.DemoService;

/**
 * 作者： lzw<br/>
 * 创建时间：2018-09-26 17:38 <br/>
 */
//@Service
@Service(protocol = {"dubbo"})
public class DefaultDemoService implements DemoService {

    @Override
    public String sayHello(String name) {
        return "Hello, " + name + " (from Spring Boot)";
    }
}
